﻿@model DBMS.Models.Database

@{
    ViewBag.Title = "Create Database";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@using (Html.BeginForm("CreateDatabase", "Databases"))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <div class="editor-label"> 
            <div>@Html.LabelFor(m => m.Name)</div>
        </div>
        <div class="editor-field">
            <div>@Html.TextBoxFor(m => m.Name)</div>
        </div>
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}